* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
  /* height: 100%; */
}

.motiongraphic_section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}

.motiongraphic_section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#silk-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}



.motiongraphic_wrapper {
  position: relative;
  border: 1px solid #ffffff52;;
  z-index: 1;
  /* background: rgba(255, 255, 255, 0.05); */
  /* background: rgb(61 38 38 / 46%); */
  /* background: rgb(56 41 41 / 60%); */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 30px 40px;
  text-align: center;
  max-width: 870px;
  width: 100%;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  margin-top: 70px;
  font-weight: 700;
}

.motiongraphic_title {
  font-size: 4.5rem;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  margin-bottom: 20px;
}

.motiongraphic_title span {
  color: #4c8eff;
}

.motiongraphic_subtitle {
  font-size: 18px;
  color: #000000;
  margin-bottom: 40px;
  line-height: 1.6;
}

.motiongraphic_buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.motiongraphic_btn.primary {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #3f80ff;
  border: none;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}

.motiongraphic_input {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  outline: none;
  width: 220px;
}

.motiongraphic_stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #ccc;
  font-size: 14px;
}

.motiongraphic_stat {
  /* background: rgba(255, 255, 255, 0.08); */
  /* background: rgb(0 0 0); */
  background: rgb(0 0 0 / 48%);
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 150px;
}

.motiongraphic_stat strong {
    font-size: 18px;
    color: #4c8eff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
}
.motiongraphic_scroll_arrow {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 35px;
  color: white;
  animation: bouncee 2s infinite;
  z-index: 1;
  opacity: 0.8;
  cursor: pointer;
}

@keyframes bouncee {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}
.motiongraphic_services_section {
  background: #000;
  padding: 100px 20px;
  color: #fff;
}

.motiongraphic_services_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.motiongraphic_services_title {
  font-size: 3rem;
  font-weight: bold;
  color: #a6c8ff;
  margin-bottom: 10px;
}

.motiongraphic_services_subtitle {
  font-size: 18px;
  color: #8b8b8b;
  margin-bottom: 60px;
}

.motiongraphic_services_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.motiongraphic_service_card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: left;
  transition: background 0.3s ease;
}

.motiongraphic_service_card:hover {
  background: linear-gradient(135deg, #5126ce, #9430ff);
}

.motiongraphic_service_card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.motiongraphic_service_card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.motiongraphic_service_card ul {
  list-style: none;
  padding-left: 0;
}

.motiongraphic_service_card ul li {
  position: relative;
  padding-left: 20px;
  color: #a8b0c0;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: left;
}

.motiongraphic_service_card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4c8eff;
}
.motiongraphic_process_section {
  background: #000;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.motiongraphic_process_wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.motiongraphic_process_title {
  font-size: 3rem;
  color: #a6c8ff;
  margin-bottom: 10px;
  font-weight: bold;
}

.motiongraphic_process_subtitle {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 60px;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #1a1a1a;
  transform: translateX(-50%);
}

.timeline_item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-bottom: 60px;
}

.timeline_item.right {
  flex-direction: row-reverse;
  text-align: left;
}

.timeline_content {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  max-width: 490px;
  color: #ddd;
  position: relative;
}

.timeline_duration {
  display: inline-block;
  font-size: 12px;
  background: #29374f;
  color: #a6c8ff;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.timeline_content h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 18px;
}

.timeline_content p {
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}

/* .timeline_circle {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #2563eb;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 12px #2563eb, 0 0 20px #2563eb;
  z-index: 2;
} */

.timeline_circle {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #2563eb;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 0 0 10px #2563eb;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
    transform: translate(-50%, -50%) scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Position cards left/right of center */
.timeline_item.left .timeline_content {
  width: 45%;
  text-align: right;
  
}

.timeline_item.right .timeline_content {
  width: 45%;
  text-align: left;
}

.featured_work_section {
  background: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.featured_work_wrapper {
  max-width: 1200px;
  margin: auto;
}

.featured_work_title {
  font-size: 3rem;
  color: #9ac8ff;
  margin-bottom: 10px;
  font-weight: bold;
}

.featured_work_subtitle {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 50px;
}

.featured_work_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.work_card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  position: relative;
}

.work_card:hover {
  transform: scale(1.03);
  border: 1px solid #3b82f680;
}

.video_wrapper {
  position: relative;
  overflow: hidden;
}

.work_video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: 0.3s ease;
}

.video_duration, .video_tag {
  position: absolute;
  top: 10px;
  background: rgba(0,0,0,0.7);
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 6px;
  color: white;
}

.video_duration {
  left: 10px;
}

.video_tag {
  right: 10px;
  background-color: #3f80ff;
}

.work_info {
  padding: 20px;
  text-align: left;
}

.work_info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.work_info p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.tags span {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  margin-right: 6px;
  background: #1e1e1e;
  border-radius: 6px;
  color: #ccc;
}


/* Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 94%;
    height: 89%;
  }

 .timeline_item {
    flex-direction: column;
    align-items: center;
  }
   .timeline_item.left .timeline_content,
  .timeline_item.right .timeline_content {
    width: 100%;
    text-align: center;
  }

  .timeline_item.right {
    flex-direction: column;
  }

 .timeline_circle {
    position: relative;
    margin: 20px 0;
    margin-top: 9px;
  }
  .motiongraphic_services_subtitle {
    font-size: 16px;
    color: rgb(139, 139, 139);
    margin-bottom: 60px;
}
  
}

@media (max-width: 1024px) {
  .motiongraphic_wrapper {
    padding: 50px 30px;
    margin-top: 60px;
  }

  .motiongraphic_title {
    font-size: 3.5rem;
  }

  .motiongraphic_buttons {
    flex-direction: column;
    gap: 12px;
  }

  .motiongraphic_input,
  .motiongraphic_btn.primary {
    width: 100%;
  }

  .motiongraphic_stats {
    flex-direction: column;
    gap: 16px;
  }

  .motiongraphic_stat {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .motiongraphic_wrapper {
    padding: 40px 20px;
    margin-top: 40px;
  }

  .motiongraphic_title {
    font-size: 2.1rem;
  }

  .motiongraphic_subtitle {
    font-size: 16px;
  }

  .motiongraphic_scroll_arrow {
    font-size: 28px;
    bottom: 15px;
  }
  canvas {
  image-rendering: pixelated;
}
 #silk-canvas {
    height: 100% !important;
  }
  .motiongraphic_section {
    position: relative;
    height: 140vh;
    overflow: hidden;
}
}

@media (max-width: 415px) {
   .motiongraphic_service_card ul li {
    text-align: left;
}
}